<template>
  <div>Hello</div>
</template>

<script setup lang="ts">
function sleep() {
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve("");
    }, 3000);
  });
}

await sleep();
</script>
